/*
 * 修改基本信息
 * @author: rongpeng
 */
import C from '@/common/common.js'

class AdminEdit {
  /*
     * 打开基础设置页面
     */
  async getAdmininfo (filter) {
    return await C.ajax('/organization/index/getadmininfo', filter, 'post')
  }
  async getEdit (filter) {
    return await C.ajax('/organization/admin/edit', filter, 'post')
  }
  async getToken (filter) {
    return await C.ajax('/login/public/gettoken', filter)
  }
}

export default new AdminEdit()
